/*
 * @Author: EternityJun 2438965023@qq.com
 * @Date: 2025-05-08 16:36:32
 * @LastEditors: EternityJun 2438965023@qq.com
 * @LastEditTime: 2025-05-15 10:03:45
 * @FilePath: \private-domain-small-program\src\service\app\types.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
/* eslint-disable */
// @ts-ignore

export type ApiResponse = {
  code?: number;
  type?: string;
  message?: string;
};

export interface LoginData {
  phone: string
  captcha: string
  invited_by_code?: string
  device_type: number
  equipment_id: string
  rand_code?: string
}

export interface LoginRes {
  token: string
}

export type User = {
  id?: number;
  username?: string;
  firstName?: string;
  lastName?: string;
  email?: string;
  password?: string;
  phone?: string;
  /** User Status */
  userStatus?: number;
};

